Viam SDK topic

Viam SDK

Smart machines on smart devices.

Libraries

viam_sdk Viam SDK
Robots at your fingertips.

Classes

AppRobotClient Viam SDK
gRPC client for connecting to app's RobotService.
AuthenticatedChannel Viam SDK
A channel that attaches an access token to gRPC metadata for every call
Credentials Viam SDK
The credentials used for connecting to the robot
DialOptions Viam SDK
Describes the behavior for connecting to a robot
DialWebRtcOptions Viam SDK
Options specific for connecting over WebRTC
DiscoveryQuery Viam SDK
Represents a discovery query in the SDK to query for discoverable components.
MimeType Viam SDK
Mime types supported by Viam
Position Viam SDK
PowerState Viam SDK
ProvisioningClient Viam SDK
gRPC client for connecting to Viam's Provisioning Service
Registry Viam SDK
The global registry of robot resources.
Resource Viam SDK
Abstract class that defines the base functionality for all Resource types
ResourceRegistration<T extends Resource> Viam SDK
An object representing a resource to be registered.
ResourceRPCClient<T extends Client> Viam SDK
Abstract class that defines the base functionality for all RPC clients for resources
RobotClient Viam SDK
gRPC client for a Robot. This class should be used for all interactions with a robot.
RobotClientOptions Viam SDK
The options that define the behavior of the RobotClient.
StreamClient Viam SDK
A client to manage a camera's WebRTC stream.
Subtype Viam SDK
Subtype defines a triplet of strings that correspond to a resource's specific API definition.
Viam Viam SDK
An object to interact with the Viam app
ViamAuthorization Viam SDK
ViamImage Viam SDK
A custom image type that contains the MimeTYpe, raw image data, and lazily loads and caches an img.Image.

Extensions

FilterUtils on Filter Viam SDK

Constants

resourceNamespaceRDK → const String Viam SDK
{@category Viam SDK} The standard namespace for Viam resources (rdk)
resourceTypeComponent → const String Viam SDK
{@category Viam SDK} The standard type for component resources (component)
resourceTypeService → const String Viam SDK
{@category Viam SDK} The standard type for service resources (service)

Functions

dial(String address, DialOptions? options, String sessionCallback()) Future<ClientChannelBase> Viam SDK
Connect to a robot at the provided address with the given options

Enums

AuthorizationId Viam SDK
IdentityType Viam SDK
NetworkType Viam SDK
Permission Viam SDK
ResourceType Viam SDK

Typedefs

Accuracy = GetAccuracyResponse Viam SDK
AnalogValue = ReadAnalogReaderResponse Viam SDK
BaseProperties = GetPropertiesResponse Viam SDK
CameraProperties = GetPropertiesResponse Viam SDK
The camera's supported features and settings
CloudMetadata = GetCloudMetadataResponse Viam SDK
Current = GetCurrentResponse Viam SDK
DatabaseConnection = GetDatabaseConnectionResponse Viam SDK
MotorProperties = GetPropertiesResponse Viam SDK
Properties = GetPropertiesResponse Viam SDK
Tick = StreamTicksResponse Viam SDK
Tick of a digital interrupt
Voltage = GetVoltageResponse Viam SDK